<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="json" uri="http://www.atg.com/taglibs/json" %>
<json:object>
  <c:choose>
  <c:when test="${!empty boardSympathy}">
  <json:property name="res" value="ok"/>
  <json:array name="boardSympathysend" var="boardSympathyvar" items="${boardSympathy}">  
    <json:object>
      <json:property name="mcode" value="${boardSympathyvar.mCode}"/>
      <json:property name="mnickname" value="${boardSympathyvar.bBgimage}"/>
      <json:property name="scode" value="${boardSympathyvar.sCode}"/>
      <json:property name="sdate" value="${boardSympathyvar.sDate}"/>
    </json:object>
  </json:array>
  </c:when>
  <c:otherwise>
  <json:property name="res" value="no"/>
  </c:otherwise>
   </c:choose>
</json:object>

